import React from 'react';
import Index from "./page/Index";
import Result from "./page/Result";
import {
  BrowserRouter,
  Route
} from 'react-router-dom'

function App() {
  return (
    <div className="App">
      <BrowserRouter>
        <div>
          <Route exact path="/" component={Result}></Route>
          <Route exact path="/login" component={Index}></Route>
        </div>
      </BrowserRouter>
    </div>
  );
}

export default App;
